package com.whp.yky.yky.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.whp.yky.yky.entity.poentity.Datas;
import com.whp.yky.yky.entity.poentity.Person;
import com.whp.yky.yky.entity.poentity.User;
import com.whp.yky.yky.entity.voentity.VoUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {


    public List<User> getUserInfo(IPage<User> page, @Param("user") User user);

    public User getUser(User user);

    public int insertUserInfo(User user);

    public int updateUserInfo(User user);


    public User loginInfo(@Param("user") User user);

    public Person getPersonInfo(int id);


    int deleteUserInfo(int id);

    int updatePersonInfo(Person person);
}
